import store from "../../../store";

export const qxzWebviewActiveFn = params => {
    store.commit("wxh/USER_INFO", params.userInfo);
    if(store.state.gw.currentPath === '/chooseAddress'){
        store.dispatch('qxz/updateAddressList', params.sessionId);
        store.commit('qxz/UPDATE_ADDRESS_ID', params.addressid);
    }
}
